package com.product.android.business;

/**
 * ClassName:Const
 * Function: 全局常量定义类
 * Reason:	 统一管理全局常量
 * 
 * @author   cb		
 * @version  v1.3.x
 * @Date	 2013	2013-12-12		下午5:14:22
 *
 * @see 	 
 */
public class Const {
	
	
	/**
	 * ClassName:ACTIVITY_RESULT_CODE
	 * Function: 界面跳转使用startActivityForResult方法时相关的requestCode参数定义
	 * Reason:	 TODO ADD REASON
	 * 
	 * @author   cb		
	 * @version  v1.3.x
	 * @Date	 2013	2013-12-12		下午5:15:01
	 *
	 * @see 	 
	 */
	public static class ACTIVITY_RESULT_CODE{
		//ERP下单
		public static final int ALLOCATE_TASK=1000;
	}
	
	public static class BUNDLE_KEY{
		//其它界面跳转到showimagesActivity时传的缩略图参数队列
		public static final String THUMB_LIST="THUMB_LIST";
		//其它界面跳转到showimagesActivity时传的URL参数队列
		public static final String URL_LIST="urlList";	
	}
	
	public static final String URL_FRIEND_DETAIL="http://nderp.99.com/PersonShow/default.html?sid=%s&uid=%d&luid=%d";

	public static class WBFLOW_TASK_OVERVIEW {
		public final static String ACTION_FLOWER_TASK_OVER_PROC = "com.nd.android.u.chat.flowertaskover";
		public final static String TASK_OVER_TYPE = "task_over_type"; // 祝福任务完成引起下拉
		public final static int TYPE_BLESS_TASK_OVER = 0; // 祝福任务完成引起下拉
		public final static int TYPE_SEND_FLOWER_TASK_OVER = 1; // 送花任务完成引起下拉
		public final static String ACTIVITY_CONTEXT = "activity_context";
		public final static String STRING_FLOWER_TASK_OVER_MSG = "flower_task_over_msg";
	}
	
	public static class GROUP_OP{
		public static final String TRANSFER="TRANSFER";	               //转让			
		public static final String ADD_MEMBER="ADD_MEMBER";              //添加群成员
		public static final String DEL_MEMBER="DEL_MEMBER";              //删除群成员
		public static final String MODIFY_NOTICE="MODIFY_NOTICE";        //修改群公告  //修改群简介
		public static final String DISMISS_GROUP="DISMISS_GROUP";        //解散群
		public static final String QUIT_GROUP="QUIT_GROUP";              //退出群
		public static final String FOLLOW="FOLLOW";                      //关注
		public static final String UNFOLLOW="UNFOLLOW";                  //取消关注
	}
	
	public static class BACKPACK_KEY{
		//类型的key名
		public final static String BACKPACK_EVENT_TYPE = "string_backpack_event_type";
		public final static String BACKPACK_EVENT_ITEM_TYPE = "string_backpack_event_item_type";
		public final static String BACKPACK_EVENT_LOTNUM = "string_backpack_event_lotnum";
		
		public final static String BACKPACK_EVENT_ITEM_IDS = "string_backpack_event_item_ids";
		public final static String BACKPACK_EVENT_ITEM_ID = "string_backpack_event_item_id";
		public final static String BACKPACK_EVENT_AMOUNT = "string_backpack_event_amount";
		public final static String BACKPACK_EVENT_DEL_TIME = "string_backpack_event_del_time";
		public final static String BACKPACK_EVENT_SERVER_TIME = "string_backpack_event_server_time";
		
		//类型的key值
		//背包抽奖 回调通知 eventbug key
		public final static String STRING_BACKPACK_LOTTER_RETURN = "string_backpack_lotter_return";
		//背包送花 回调通知 eventbug key
		public final static String STRING_BACKPACK_SENDFLOWER_RETURN = "string_backpack_sendflower_return";
//		//背包 搜索 送花
//		public final static String STRING_BACKPACK_SEARCH_SENDFLOWER_RETURN = "string_backpack_search_sendflower_return";
	}

	
	/**
	 * 
	 * ClassName:LoadState
	 * Function: 加载状态
	 * Reason:	 TODO ADD REASON
	 * 
	 * @author   huangszh		
	 * @version  Const
	 * @since    Ver 1.1
	 * @Date	 2014	2014-4-16		下午5:52:33
	 *
	 * @see
	 */
	public class LoadState{
		/**普通状态*/
		public static final int NORMAL = 100;	
		/**正在加载状态*/
		public static final int LOADING = 101;
		/**加载成功状态*/
		public static final int LOADED_SUCCESS = 102;
		/**加载失败状态*/
		public static final int LOADED_ERR = 103;
	}

	
	//抽奖后跳转更多积分领取后，eventbug 通知 抽奖界面是否关闭 key
	public final static String STRING_EVENTBUS_ERP_NOTIFY_LOTTERY_CLOSE = "string_eventbus_erp_notify_lottery_close";
	
	/**
	 * intent key
	 * 
	 * <br>Created 2014-5-22 下午3:27:49
	 * @version  Const
	 * @author   chenqian		
	 *
	 * @see
	 */
	public static class INTENT_KEY{
		public final static String IMAGE_LIST = "image_list";//图片列表
		public final static String IS_SHOW_DEL_BTN = "is_show_del_btn";//是否显示删除按钮
		public final static String IS_SHOW_PRAISE_BTN = "is_show_praise_btn";//是否显示删除按钮
		public final static String IS_LOCAL_IMAGE = "is_local_image";//是否是本地图片
		public final static String IMAGE_POSTION = "position";//图片索引，和图片列表配合使用
		public static final String PRAISE_NUM = "praise_num";
		public static String IS_SHOW_SAVE_BTN = "is_show_save_btn";
		 /** 是否显示图片索引 */
	    public final static String IS_SHOW_IMG_INDEX = "is_show_img_index";
	}
	

}
